import axios from "@/axios/index.js";
export function login(phone, password) {
    return axios({
        url:  "/login",
        method:"POST",
        params:{
            phone,
            password
        }
    });
}
export function regist(data){
    return axios({
        url:'/regist',
        method:"POST",
        params:data
    })
}
